package com.mycompany.inventory.pojo;

public class PriceCurrency {	

	private String Id;
	private String name;	
	private int currencyId;
	
	public PriceCurrency(String id, String name, int currencyId) {		
		Id = id;
		this.name = name;
		this.currencyId = currencyId;
	}
	
	public PriceCurrency() {		
		Id = "";
		this.name = "";
		this.currencyId = 0;
	}
	
	public void clear(){
		Id = "";
		this.name = "";
		this.currencyId = 0;
	}
	
	public void copyValue(PriceCurrency pay){
		Id = pay.getId();
		this.name = pay.getName();
		this.currencyId = pay.getCurrencyId();
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return the currencyId
	 */
	public int getCurrencyId() {
		return currencyId;
	}

	/**
	 * @param currencyId the currencyId to set
	 */
	public void setCurrencyId(int currencyId) {
		this.currencyId = currencyId;
	}

	public String toString(){
		return name;
	}
	
}
